import pytest,subprocess

if __name__ == '__main__':
    pytest.main(['test_crmeb.py','--alluredir','/Users/zhuanz/Desktop/python/testresult/'])
    subprocess.call('allure generate /Users/zhuanz/Desktop/python/testresult/ -o /Users/zhuanz/Desktop/python/testresult/ --clean',shell=True)
    subprocess.call('allure open -h 127.0.0.1 -p 33211 /Users/zhuanz/Desktop/python/testresult/report', shell = True)
